package com.ly.user_system.lock;

import java.util.concurrent.TimeUnit;
import java.util.function.Supplier;

public interface LockService {



   <T> T tryLock(String lock, Supplier<T> supplier, long waitTime, TimeUnit timeUnit);

}
